package com.ayuan.blog.bean;

import com.ayuan.blog.domain.WxSignInLog;
import lombok.Data;

import java.text.DateFormat;

/**
 * Created by xiaozhu on 16/5/10.
 */
@Data
public class WxSignInLogInfo extends WxSignInLog{

    private String nickName;

    private String headImgUrl;

    public String getSignInTimeStr() {
//        return DateFormat.getDateTimeInstance().format(getSignInTime());
        String str = "";
        str += getSignInTime().getHours();
        str += ":" + getSignInTime().getMinutes();
        str += ":" + getSignInTime().getSeconds();
        return str;
    }
}
